package avicit.bdp.lineage.druid.model;

import java.util.HashSet;

/**
 * 表血缘关系模型
 */
public class TableLineageModel {

    /**
     * 输出的表名
     */
    private TableNameModel targetTable;

    /**
     * 输入的表名列表
     */
    private HashSet<TableNameModel> sourceTables = new HashSet<>();

    public TableNameModel getTargetTable() {
        return targetTable;
    }

    public void setTargetTable(TableNameModel targetTable) {
        this.targetTable = targetTable;
    }

    public HashSet<TableNameModel> getSourceTables() {
        return sourceTables;
    }

    public void setSourceTables(HashSet<TableNameModel> sourceTables) {
        this.sourceTables = sourceTables;
    }
}
